﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace CrmContacto.Contracts.Contracts
{
    [Serializable]
    [DataContract]
    public class AccionDeMarketingEmailResultado
    {
        public AccionDeMarketingEmailResultado()
        {
            Mensaje = string.Empty;
        }

        [DataMember]
        public long Id { get; set; }

        [DataMember]
        public int ContactoId { get; set; }

        [DataMember]
        public string Email { get; set; }       

        [DataMember]
        public int AccionDeMarketingId { get; set; }     

        [DataMember]
        public string ContactoNombre { get; set; }

        [DataMember]
        public string ContactoApellido { get; set; }

        [DataMember]
        public bool? EmailTipoRebote { get; set; }

        [DataMember]
        public bool? EmailLlego { get; set; }

        [DataMember]
        public bool? EmailAbierto { get; set; }

        [DataMember]
        public bool? AccionEjecutada { get; set; }

        [DataMember]
        public DateTime? EmailFechaApertura { get; set; }

        [DataMember]
        public DateTime? FechaAltaRegistro { get; set; }

        [DataMember]
        public string Mensaje { get; set; }        
    }
}
